import java.math.BigDecimal;

/**
 * Created by David Li on 2016/3/21.
 */
public class SomeTest {
    public static void main(String[] args) {
        BigDecimal b1 = new BigDecimal("24.27");
        BigDecimal b2 = new BigDecimal("12.1");
        System.out.println(b1.divideToIntegralValue(b2));

    }

}
